<a href="" class="layui-btn">新建客户</a>
<form class="layui-form" action="">
    <div class="layui-form-item">


        <div class="layui-inline">
            <label class="layui-form-label">关键词</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input"  placeholder="手机号/微信昵称/姓名">

            </div>
            <label class="layui-form-label" >标签</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input"  placeholder="">

            </div>

        </div>

    </div>

    <div class="layui-form-item">


        <div class="layui-inline">
            <label class="layui-form-label">上次消费时间</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input laydate-date"  placeholder="yyyy-MM-dd">

            </div>
            <label class="layui-form-label" style="margin-left: -65px;">至</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input laydate-date1"  placeholder="yyyy-MM-dd">

            </div>

        </div>


        <div class="layui-inline">
            <label class="layui-form-label">成为客户时间</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input laydate-date2"  placeholder="yyyy-MM-dd">

            </div>
            <label class="layui-form-label" style="margin-left: -65px;">至</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input laydate-date3"  placeholder="yyyy-MM-dd">

            </div>

        </div>

    </div>
    <div class="layui-form-item">
        <div class="layui-block">
            <label class="layui-form-label">来源方式</label>
            <div class="layui-input-inline">
                <select name="interest" lay-filter="aihao">
                    <option value=""></option>
                    <option value="0">主动进入</option>
                    <option value="0">用户邀请</option>
                </select>
            </div>
            <label class="layui-form-label">地域</label>
            <div class="layui-input-inline">
                <select name="interest" lay-filter="aihao">
                    <option value=""></option>
                    <option value="0">河北省</option>
                    <option value="0">北京市</option>
                </select>
            </div>
            <label class="layui-form-label">性别</label>
            <div class="layui-input-inline">
                <select name="interest" lay-filter="aihao">
                    <option value=""></option>
                    <option value="0">男</option>
                    <option value="0">女</option>
                </select>
            </div>
        </div>

    </div>




    <span class="layui-btn">筛选</span>
    <a href="" class="layui-btn-xs layui-btn layui-btn-normal">清空筛选条件</a>
</form>



<table class="layui-table edit-table" lay-data="{cellMinWidth: 80,
    url:'{:url('getUserList')}',page: true,totalRow:true
    }" lay-filter="edit-table" data-url="{:url('editPermissions')}" data-key="permission_id">
    <thead>
    <tr>
        <th lay-data="{field:'order_sn', width:80, sort: true}">客户</th>
        <th lay-data="{field:'add_time', sort: true}">积分</th>
        <th lay-data="{toolbar:'#type'}">购买次数</th>
        <th lay-data="{toolbar:'#people'}">客单价</th>
        <th lay-data="{field:'order_amount'}">上次消费时间</th>
        <!--<th lay-data="{toolbar:'#status'}">买家信息</th>-->
        <th lay-data="{toolbar: '#manipulate', width:200}">操作</th>
    </tr>
    </thead>
</table>
<script type="text/html" id="status">
    {{d.status}}没有注释不知具体状态
</script>
<script type="text/html" id="type" >

    <p>{{d.goods_name}}</p>
    {{d.goods_price}}元/{{d.goods_num}}件
</script>

<script type="text/html" id="people" >
    <span>
        <!--{{d.province}}{{d.city}}{{d.district}}{{d.twon}}{{d.address}}-->
    {{d.consignee}}{{d.mobile}}</span>
</script>
<script type="text/html" id="manipulate" >
    <a href="{:url('looktixian')}?id={{d.admin_id}}" class="layui-btn layui-btn-sm layui-btn-normal">加标签</a>
    <a href="" class="layui-btn layui-btn-sm">给积分</a>
</script>